package com.wicket.okrcomponent.integration.dto;
import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc MainNavMenusDto
     * @使用场景
     */
    @Data
    public class MainNavMenusDto extends BaseDto  implements Serializable {
      
    /**
     * 分组配置项ID 
     */
    @ApiModelProperty("分组配置项ID")
    private String	 classConfItemId;

    /**
     * 配置项ID 
     */
    @ApiModelProperty("配置项ID")
    private String	 confItemId;

    /**
     * 配置项名称 
     */
    @ApiModelProperty("配置项名称")
    private String	 confItemName;

    /**
     * 配置项简称 
     */
    @ApiModelProperty("配置项简称")
    private String	 shortName;

    /**
     * 配置项标识 
     */
    @ApiModelProperty("配置项标识")
    private String	 confItemCode;

    /**
     * 商业位置 MAIN_MENUS:主菜单 IN_MAIN_MENUS:主菜单内 THROW_PLACE_IN_MAIN_MENUS:主菜单内商业位置
     */
    @ApiModelProperty("商业位置")
    private String	 throwPlace;

    /**
     * 配置项描述 
     */
    @ApiModelProperty("配置项描述")
    private String	 confItemDes;

    /**
     * 扩展字段1 
     */
    @ApiModelProperty("扩展字段1 ")
    private String	 extensionField1;

    /**
     * 扩展字段2 
     */
    @ApiModelProperty("扩展字段2")
    private String	 extensionField2;

    /**
     * 扩展字段3 
     */
    @ApiModelProperty("扩展字段3 ")
    private String	 extensionField3;

    /**
     * 排序 
     */
    @ApiModelProperty("排序")
    private Long	 orderNumber;

  /**
   * 菜单编码
   */
  @NotNull(message = "菜单编码不能为空")
  @ApiModelProperty("菜单编码")
  private String menuCode;

  /**
   * 菜单名称
   */
  @NotNull(message = "菜单名称不能为空")
  @ApiModelProperty("菜单名称")
  private String menuName;

  /**
   * 菜单图标
   */
  @NotNull(message = "菜单图标不能为空")
  @ApiModelProperty("菜单图标")
  private String menuIcon;

  /**
   * 菜单是否可见
   */
  @NotNull(message = "菜单是否可见不能为空")
  @ApiModelProperty("菜单是否可见")
  private String menuIsVisible;

  /**
   * 菜单路径
   */
  @NotNull(message = "菜单路径不能为空")
  @ApiModelProperty("菜单路径")
  private String menuPath;

  /**
   * 菜单排序
   */
  @NotNull(message = "菜单排序不能为空")
  @ApiModelProperty("菜单排序")
  private String menuOrderNumber;

@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      MainNavMenusDto that = (MainNavMenusDto) o;
    return (
      classConfItemId == that.classConfItemId &&
      confItemId == that.confItemId &&
      confItemName == that.confItemName &&
      shortName == that.shortName &&
      confItemCode == that.confItemCode &&
      throwPlace == that.throwPlace &&
      confItemDes == that.confItemDes &&
      extensionField1 == that.extensionField1 &&
      extensionField2 == that.extensionField2 &&
      extensionField3 == that.extensionField3 &&
      orderNumber == that.orderNumber &&
      menuCode == that.menuCode &&
      menuName == that.menuName &&
      menuIcon == that.menuIcon &&
      menuIsVisible == that.menuIsVisible &&
      menuPath == that.menuPath &&
      menuOrderNumber == that.menuOrderNumber
    );
    }
@Override
  public int hashCode() {
    return Objects.hash(
      super.hashCode(),
      classConfItemId,
      confItemId,
      confItemName,
      shortName,
      confItemCode,
      throwPlace,
      confItemDes,
      extensionField1,
      extensionField2,
      extensionField3,
      orderNumber,
      menuCode,
      menuName,
      menuIcon,
      menuIsVisible,
      menuPath,
      menuOrderNumber
    );
    }
    
      

    }
   